package com.baobao.service;

import com.baobao.domain.School;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for School entities
 * 
 */
public interface SchoolService {

	/**
	 * Save an existing School entity
	 * 
	 */
	public void saveSchool(School school);

	/**
	 * Return a count of all School entity
	 * 
	 */
	public Integer countSchools();

	/**
	 */
	public School findSchoolByPrimaryKey(String id);

	/**
	 * Return all School entity
	 * 
	 */
	public List<School> findAllSchools(Integer startResult, Integer maxRows);

	/**
	 * Load an existing School entity
	 * 
	 */
	public Set<School> loadSchools();

	/**
	 * Delete an existing School entity
	 * 
	 */
	public void deleteSchool(School school_1);
}